package fishinpool;
/**
 *
 * @author m.novikov
 */
public final class Area{
    Hindrance hindrance;
    private int width=2;
    private int length=2;
    int lenght;
    
    
    public Area(int width, int length, int ahindrance){
        this.width = width++;
        this.length = length;
        hindrance = new Hindrance(ahindrance);
    }
    @Override
      public String toString() {
        return String.format("Размер площади ", width, length);
    }
    public int getWidth() {
        return width;
    }
    
    public int getLength() {
        return length;
    }
}